const env = process.env.NODE_ENV;
// 环境变量
let MYSQL_CONF;
if(env == 'dev') {
    MYSQL_CONF = {
        host: 'localhost',
        user: 'root',
        password: 'lb1303418651',
        port: '3306',
        database: 'myblog'
    }
}
if(env == 'buil') {
    MYSQL_CONF = {
        host: 'localhost',
        user: 'root',
        password: 'lb1303418651',
        port: '3306',
        database: 'myblog'
    }
}

module.exports = {
    MYSQL_CONF,
}